/**
 * Copyright &copy; 2012-2016 <a href="https://www.kaaction.com">KAA</a> All rights reserved All rights reserved.
 */
package com.kaaction.modules.eb.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.kaaction.common.persistence.Page;
import com.kaaction.common.service.CrudService;
import com.kaaction.modules.eb.entity.CouponDetail;
import com.kaaction.modules.eb.dao.CouponDetailDao;

/**
 * 优惠券明细Service
 * @author zengbiao
 * @version 2017-05-02
 */
@Service
@Transactional(readOnly = true)
public class CouponDetailService extends CrudService<CouponDetailDao, CouponDetail> {

	public CouponDetail get(String id) {
		return super.get(id);
	}
	
	public List<CouponDetail> findList(CouponDetail couponDetail) {
		return super.findList(couponDetail);
	}
	
	public Page<CouponDetail> findPage(Page<CouponDetail> page, CouponDetail couponDetail) {
		return super.findPage(page, couponDetail);
	}
	
	@Transactional(readOnly = false)
	public void save(CouponDetail couponDetail) {
		super.save(couponDetail);
	}
	
	@Transactional(readOnly = false)
	public void delete(CouponDetail couponDetail) {
		super.delete(couponDetail);
	}
	
}